#ifndef __UART_PROTOCOL_H__
#define __UART_PROTOCOL_H__

#include "stdint.h"

#define DATA_OFFSET  6

void array_clear(uint8_t *pbuf,uint16_t length);
uint8_t uart_frame_get_state(void);
uint8_t uart_frame_set_state(uint8_t state);
uint8_t uart_protocol_decoding(uint8_t *pbuf,uint16_t length);

#endif

